﻿CREATE TABLE [dbo].[Payment]
(
	[Id] INT NOT NULL PRIMARY KEY IDENTITY, 
    [OrderId] INT NOT NULL, 
    [Amount] MONEY NOT NULL, 
    [PaymentDate] DATETIME NOT NULL, 
    CONSTRAINT [FK_Payment_ToTable] FOREIGN KEY ([OrderId]) REFERENCES [Order]([OrdreId])
)
